package com.qyer.lxp.model.product.parameter;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;

/**
 * 销售项目基本信息接口参数类
 * Created by jiangping on 16/5/19.
 */
@XmlRootElement(name = "sale-item-info-request")
@XmlAccessorType(XmlAccessType.FIELD)
public class SaleItemInfoRequest implements Serializable{
    private static final long serialVersionUID = -4409681400490221499L;

    /**
     * 产品编码
     */
    @XmlElement(name = "product-code")
    private String productCode;

    /**
     * 币种
     */
    private String currency;

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public String getCurrency() {
        return currency;
    }

    public void setCurrency(String currency) {
        this.currency = currency;
    }

    @Override
    public String toString() {
        return "SaleItemInfoRequest{" +
                "productCode='" + productCode + '\'' +
                ", currency='" + currency + '\'' +
                '}';
    }
}
